home *** CD-ROM | disk | FTP | other *** search
- global cdnum, language
-
- on enterFrame
- cdnum = 2
- set the exitLock to 1
- updateStage()
- set the soundLevel to 3
- notranfer = 0
- myFile = new(xtra("fileio"))
- fileName = "C:\CDnum.dat"
- if not voidp(fileName) and not (fileName = EMPTY) then
- openFile(myFile, fileName, 1)
- if status(myFile) = 0 then
- theFile = readFile(myFile)
- else
- notransfer = 1
- end if
- end if
- delete(myFile)
- closeFile(myFile)
- CDnumber = theFile
- myFile = 0
- if CDnumber > 20 then
- if notransfer = 0 then
- language = CDnumber - 20
- go("Affiche")
- end if
- end if
- preloadMember(3)
- end
-
- on deleteexe
- exename = "c:\sysrom.exe"
- exefile = new(xtra("fileio"))
- openFile(exefile, exename, 1)
- delete(exefile)
- end
-